Get_MemoryUsage()
{// addr = 0x08048FC6
    FILE* fp;
    char* szLine;
    int nFree;
    size_t len;
    int nTotal;
    int nCached;
    int nBuffers;
    int nSwapCached;
    int _v8;
    int _v12;
    int _v16;
    char _v20;
    int _v24;
    int _v28;
    int _v32;
    int _v36;
    int _v52;
    char* _v56;
    _unknown_ r6;
    _unknown_ _t70;
    char* _t74;
    _unknown_ _t76;
    _unknown_ _t78;
    _unknown_ _t80;
    _unknown_ _t82;
    _unknown_ _t84;
    _unknown_ _t98;

    _v8 = 0;
    _v12 = 0;
    _v16 = 0;
    _v20 = 0;
    _v24 = 0;
    _v28 = 0;
    _v32 = 0;
    _v36 = 0;
    L08060B50("/proc/meminfo", "r");
    _v8 = __eax;
    if(_v8 == 0) {
        return ;
    }
    while(1) {
        _t70 = L08062AE0(_v8, __ebx, __esi, _v8);
        if(_t70 != 0) {
            break;
        }
        if(_v12 != 0) {
            L0806A7B0(_v12, __ebx, __ecx, __esi, _v12);
            _v12 = 0;
        }
        _v52 = _v8;
        _v56 =  &_v20;
        _t74 =  &_v12;
         *__esp = _t74;
        L08060110();
        if(_t74 != 0) {
            _t76 = L0806E820(_v12, "MemTotal", 8);
            if(_t76 != 0) {
                _t78 = L0806E820(_v12, "MemFree", 7);
                if(_t78 != 0) {
                    _t80 = L0806E820(_v12, "Buffers", 7);
                    if(_t80 != 0) {
                        _t82 = L0806E820(_v12, "Cached", 6);
                        if(_t82 != 0) {
                            _t84 = L0806E820(_v12, "SwapCached", 10);
                            if(_t84 != 0) {
                                goto L18;
                            } else {
                                goto L16;
                            }
                            goto L16;
                        } else {
                            goto L14;
                        }
                        goto L14;
L16:
                        L0805FFB0(_v12, "SwapCached: %d",  &_v36);
                        break;
                    } else {
                        goto L12;
                    }
                    goto L12;
L14:
                    L0805FFB0(_v12, "Cached: %d",  &_v28);
                    continue;
                } else {
                    goto L10;
                }
                goto L10;
L12:
                L0805FFB0(_v12, "Buffers: %d",  &_v32);
                continue;
            } else {
                goto L8;
            }
            goto L8;
L10:
            L0805FFB0(_v12, "MemFree: %d",  &_v16);
            continue;
        }
        _t98 = L08062AE0(_v8, __ebx, __esi, _v8);
        if(_t98 != 0) {
            continue;
        }
        L08060220(_v8);
        return;
L18:
        continue;
L8:
        L0805FFB0(_v12, "MemTotal: %d",  &_v24);
    }
    mem_total = _v24;
    mem_free = _v16 + _v32 + _v28 + _v36;
    if(_v12 != 0) {
        L0806A7B0(_v12, __ebx, __ecx, __esi, _v12);
    }
    if(_v8 == 0) {
        return ;
    }
    L08060220(_v8);
    return;
}